package com.team.employment.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.team.employment.model.enums.BaseStatus;
import com.team.employment.model.enums.CompanyStatus;
import com.team.employment.model.enums.ReleaseStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 公司信息表
 * @TableName company_info
 */
@Schema(description = "公司信息表")
@TableName(value ="company_info")
@Data
public class CompanyInfo extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * 公司名称
     */
    @Schema(description = "公司名称")
    @TableField(value = "name")
    private String name;

    /**
     * 省份id
     */
    @Schema(description = "省份id")
    @TableField(value = "province_id")
    private Long provinceId;

    /**
     * 省份
     */
    @Schema(description = "省份")
    @TableField(value = "province")
    private String province;

    /**
     * 城市id
     */
    @Schema(description = "城市id")
    @TableField(value = "city_id")
    private Long cityId;

    /**
     * 城市
     */
    @Schema(description = "城市")
    @TableField(value = "city")
    private String city;

    /**
     * 区域id
     */
    @Schema(description = "区域id")
    @TableField(value = "district_id")
    private Long districtId;

    /**
     * 区域
     */
    @Schema(description = "区域")
    @TableField(value = "district")
    private String district;

    /**
     * 公司详细地址
     */
    @Schema(description = "公司详细地址")
    @TableField(value = "address")
    private String address;

    /**
     * 企业电话
     */
    @Schema(description = "企业电话")
    @TableField(value = "phone")
    private String phone;

    /**
     * 公司介绍
     */
    @Schema(description = "公司介绍")
    @TableField(value = "content")
    private String content;

    /**
     * 经度
     */
    @Schema(description = "经度")
    @TableField(value = "longitude")
    private String longitude;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    @TableField(value = "latitude")
    private String latitude;

    /**
     * 公司审核状态(0未审核,1已审核)
     */
    @Schema(description = "公司审核状态")
    @TableField(value = "status")
    private BaseStatus status;

    /**
     * 是否发布(0未发布,1已发布，-1禁用)
     */
    @Schema(description = "是否发布")
    @TableField(value = "company_status")
    private CompanyStatus companyStatus;


}